package com.bcu.wish.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * 全局配置类
 * 获取application.yml的全部外界配置信息
 */
@Configuration
public class GlobalConfig {

    @Value("${file-path}")
    public String filePath;

    @Value("${WeChat.appID}")
    public String programAppId;

    @Value("${WeChat.appSecret}")
    public String programAppSecret;

    @Value("${hostUrl}")
    public String hostUrl;
}
